package com.example.administrator.dagger2demo.adapter.inter;

import android.view.View;
import android.view.ViewGroup;

import com.example.administrator.dagger2demo.adapter.base.BaseRecyclerViewAdapter;


import java.util.List;

/**
 * 普通使用方式
 */
public class GeneralAdapter extends BaseRecyclerViewAdapter<Indo, GeneralAdapter.IndexViewHolder> {

    public GeneralAdapter(List<Indo> list) {
        super(list);
    }


    @Override
    protected void bindDataToItemView(IndexViewHolder myViewHolder, Indo item) {

    }


    @Override
    public IndexViewHolder onCreateViewHolder(ViewGroup viewGroup, int type) {

        return new IndexViewHolder(inflateItemView(viewGroup, 1));

    }


    public class IndexViewHolder extends BaseRecyclerViewAdapter.SparseArrayViewHolder {
        public IndexViewHolder(View itemView) {
            super(itemView);

        }


    }

}
